package avicit.bdp.dds.dao.upgrade.shell;

import avicit.bdp.dds.dao.upgrade.DolphinSchedulerManager;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

/**
 * init DolphinScheduler
 *
 */
public class InitDolphinScheduler {

	private static final Logger logger = LoggerFactory.getLogger(InitDolphinScheduler.class);

	/**
	 * init dolphin scheduler db
	 * @param args args
	 */
	public static void main(String[] args) {
		Thread.currentThread().setName("manager-InitDolphinScheduler");
		DolphinSchedulerManager dolphinSchedulerManager = new DolphinSchedulerManager();
		dolphinSchedulerManager.initDolphinScheduler();
		logger.info("init DolphinScheduler finished");
		
	}
}
